home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / vde122.arc / VDE122.DOC < prev    next >
Text File  |  1988-08-17  |  69KB  |  1,176 lines

  1.  
  2.  
  3.                                   VDE122.DOC
  4.                                   ----------
  5.                     Instructions for Video Display Editor:
  6.                                 MSDOS Version
  7.                                VDE 1.22 (08/88)
  8.  
  9.                               (c)1988, E. Meyer
  10.  
  11.  
  12. ==============================================================================
  13.  
  14.  
  15.     VDE is a small, fast, powerful text editor offering:
  16.  
  17.   * dual file editing        * block operations     * subdirectory support
  18.   * wordwrap and reformat    * find and replace     * full DOS utilities
  19.   * margins, tabs, spacing   * undelete functions   * WordStar compatibility
  20.   * many print features      * macro programs       * configurable options
  21.  
  22.      VDE is versatile: its pure ASCII mode and definable macros make it an 
  23. ideal programmer's editor; its full formatting and printing features also make 
  24. it an efficient word processor.
  25.      VDE is fast: it is written in 8086 assembler; on IBM PCs, it writes 
  26. directly to video RAM; it operates entirely in memory, with no disk access 
  27. during editing.  Speed is a factor that more cumbersome ("full-featured?") 
  28. programs overlook.  Example:  finding a string near the end of a 60K 
  29. nondocument file takes WordStar 4 about 20 seconds [8 MHz 8088]; VDE does it 
  30. in half a second.  This is like moving through air instead of molasses: you 
  31. will find that you can do more of your work on screen, and less on paper.
  32.      VDE is small: about 30k, with no additional files.  It can be configured 
  33. not to make backup files.  It can work with as little as 128K RAM.  This is 
  34. ideal for portable computers with limited space.
  35.  
  36.      VDE requires MS/PCDOS version 2.x or higher, and a minimum of 128K RAM.  
  37. It can be installed for either an IBM PC compatible, or a generic computer 
  38. with an ANSI.SYS driver.  It has many user configurable options.  [See 
  39. VINSTALL.DOC for details.  Comments below in brackets "[]" point out various 
  40. uses of VINSTALL.]
  41.      There is also a Z80 CP/M version of VDE, for those who have a use for it. 
  42. Primary distribution points for VDE, as of January 1988, are:
  43.             (1) Glendale Littera QBBS (818)956-6164 (MSDOS and CP/M)
  44.             (2) CompuServe SIG DL areas IBMSW (MSDOS) and CPMSIG (CP/M).
  45. The most recent release can always be found on these systems.
  46.  
  47.  
  48.  
  49. ===============================  USAGE POLICY  ===============================
  50.  
  51.  
  52.        ****************************************************************
  53.        *****      The VDE editor and its documentation are        *****
  54.        *****       (c)1988 E. Meyer, all rights reserved.         *****
  55.        *****   They may not be circulated in any incomplete or    *****
  56.        *****     modified form, nor sold for profit, without      *****
  57.        *****          written permission of the author.           *****
  58.        ****************************************************************
  59.  
  60.      No fee is required for the use, copying, or nonprofit distribution of 
  61. VDE.  Please do not request updates or manuals from the author.
  62.  
  63.      DISCLAIMER: You undertake to use VDE at your own risk.  The author 
  64. accepts no liability for any damages resulting from its use or misuse.  
  65. Problem reports and suggestions are appreciated; include a self-addressed 
  66. stamped return envelope for a reply if desired.
  67.  
  68.                                   Eric Meyer
  69.                             401 12th Ave SE, #139
  70.                             Norman, OK  73071  USA
  71.  
  72.                            CompuServe [74415,1305]
  73.                                GEmail ERMEYER
  74.  
  75.  
  76.  
  77. ================================  CONTENTS  ==================================
  78.  
  79.  
  80. 1. INTRODUCTION: Using this manual; Installation; Command line syntax, 
  81.                  examples; The VDE command set.
  82.  
  83. 2. COMMAND SUMMARY: a complete brief listing of all commands:
  84.                     Ctrl, Esc, Alt, ^K (Block), ^Q (Quick), ^O (Onscreen).
  85.  
  86. 3. BASIC COMMANDS, alphabetically by category:
  87.          Deleting, File commands, Find/replace, Header, Information, Insert 
  88.     mode, Line spacing, Margins, Moving around, Place markers, Ruler line, 
  89.     Tabs, Time/date, Undelete, Upper/lowercase, Window/screen, 
  90.     Wordwrap/reformat.
  91.  
  92. 4. ADVANCED COMMANDS, alphabetically by category:
  93.          Auto indent, Block commands, Disk operations, Dual files, Graphics, 
  94.     Hyphenation, Pagination, Printer codes, Printing, Run command/shell, 
  95.     Splitting files.
  96.  
  97. 5. MACRO AND FUNCTION KEYS:  Explanation, with examples:
  98.          Function keys, Macros, Macro keys, Macro programming.
  99.  
  100. 6. GENERAL INFORMATION, alphabetically by category:
  101.          Directories, Disk space, Error messages, File modes, IBM keyboard, 
  102.     Memory, Prompts, Wordstar compatibility.
  103.  
  104. 7. VDE development history.
  105.  
  106.  
  107. =============================  1. INTRODUCTION  ==============================
  108.  
  109.  
  110.      If you want to get a quick start with VDE, and are already familiar with 
  111. the WordStar command set, you should be able to wade right in and edit files.  
  112. But at some point you should read the whole manual through, to make sure 
  113. you're not missing anything.  (Many things are explained only once.)
  114.      Hint: If you need more on-line help than the menus (^J) provide while 
  115. learning to use VDE, it's an excellent idea to load VDE.DOC as a second file 
  116. (Alt-F) while you work.  Then just switch to it and search (^QF) for the help 
  117. you need!  If you have trouble with margins, try...
  118.                           Find string: /i/margin
  119.  
  120.      TO INSTALL VDE, use the VINSTALL configuration program; see the 
  121. accompanying file VINST.DOC.  Most of the installation consists of options; 
  122. you will discover how you want everything set in the course of using VDE, so 
  123. don't worry about going through all of it at first.  The one important thing 
  124. is the computer installation: you must specify whether you have a fully IBM 
  125. compatible PC.  An uninstalled copy of VDE will ask you this question each 
  126. time you run it; once you've used VINSTALL, this ceases.
  127.  
  128.      TO RUN VDE, you can just type "VDE"; or, you may specify a filename; or 
  129. two filenames, separated by a comma.  Any filename may include a DOS subdir- 
  130. ectory, and/or be followed by a mode option.
  131.  
  132. SYNTAX:     A>vde {filename} {/m} {, filename2 {/m}}         "{}" = optional
  133.  
  134. EXAMPLES:   A>vde                         A>vde myfile,myfile.bak
  135.             A>vde my.doc/w                A>vde prog.doc/a, prog.asm/n
  136.             A>vde b:work\prog.asm n
  137.  
  138.          "filename" - file to edit.  Drive and directory may be specified.  If 
  139.     no name is given, you begin an new (untitled) file.  If two names are 
  140.     given, they must have a comma between them.
  141.          "/m" or " m" - optional choice of file modes: "m" can be "W"ordstar 
  142.     document, "A"SCII document, or "N"ondocument.  Normally defaults to "A".  
  143.     Must be separated from filename by a space and/or a slash.
  144.  
  145.      VDE can edit different types of files (see FILE MODES): nondocuments, 
  146. such as program source code, or documents with formatted text.  Further, for 
  147. documents you can choose either pure ASCII or WordStar compatible format.  If 
  148. an existing file is too large to edit with VDE, divide it up (see SPLITTING 
  149. FILES).
  150.  
  151.      VDE gives you a certain amount of information at the top of the screen 
  152. (for details see HEADER, RULER).  If you type ^J (or Esc-H), you can get a 
  153. series of help menus for the various VDE commands.  The menus, like all 
  154. command prompts and error messages, appear temporarily in the top portion of 
  155. the screen; press Esc or Space to remove them.
  156.  
  157.      The VDE command set uses simple one- or two-key combinations, easily 
  158. found by the touch typist without distraction.  Most commands are the same as 
  159. in WordStar, the single most widely used word processor; if you have questions 
  160. that this file can't answer, a WordStar manual may be a useful reference.  
  161. But VDE is its own program, not a WordStar "clone"; there are significant 
  162. differences.  There is a set of Alt-key commands for VDE's additional 
  163. functions, such as dual-file editing; and a set of Esc-key commands (and 
  164. synonyms) that originated with the CP/M version of VDE.  (Yes, VDE had macros 
  165. long before WordStar 4's Shorthand.)
  166.  
  167.  
  168.  
  169. ===========================  2. COMMAND SUMMARY  =============================
  170.  
  171.  
  172.      Explanation of Keys:  IBM PC special keys are indicated in [brackets].  
  173. "Esc" means the Escape key, [Esc].  "Alt-" indicates holding down the [Alt] 
  174. key: "Alt-D" means [Alt]+D.  The "^" character indicates holding down the 
  175. [Ctrl] key: "^K" means [Ctrl]+K.  Many commands require two-key sequences, eg 
  176. ^QR = [Ctrl]+Q,R; whether you hold down [Ctrl] on the second key as well 
  177. doesn't matter.  The prefix (^Q) displays in the header, and can be canceled 
  178. by pressing Esc or Space.
  179.      Synonyms:  If your keyboard lacks the IBM PC keys, synonyms are always 
  180. available (eg, ^R for [PgUp]).  If you have no [Alt] key, you can still access 
  181. the Alt-commands with a double-Esc prefix: Esc,Esc,X = Alt-X.  (CP/M VDE 
  182. synonyms also allow use of the Esc- prefix in place of ^K-, of Esc-H for ^J, 
  183. and of ^\ for ^L.  This was because ^J,K,L were arrow keys on many CP/M 
  184. computers.)
  185.  
  186.  
  187. I. CONTROL KEYS:  single keystroke commands.
  188.  
  189.      ^J (Esc-H) = Display Help menu.
  190.  
  191.      CR [ENTER] = Carriage Return (^M).  In documents, marks a paragraph end.
  192.      BS [<--]   = BackSpace (^H).  [May also delete.]
  193.     TAB = Hard Tab mode: Tab (^I).  Variable Tab mode: move to next stop.
  194.  
  195.      Arrow keys:  [^], [v], [>], [<] (IBM cursor keys).
  196.                   Or, WordStar: ^E up, ^X down, ^D right, ^S left.
  197.  
  198.      ^F or [^>]  = move to start of next word right.
  199.      ^A or [^<]  = move to start of previous word (left).
  200.  
  201.      ^W or [-] = scroll back one line.
  202.      ^Z or [+] = scroll forward one line.
  203.      ^R or [PgUp] = scroll back one screen.
  204.      ^C or [PgDn] = scroll forward one screen.
  205.      [^PgUp] = scroll both files back (in split screen mode).
  206.      [^PgDn] = scroll both files forward (").
  207.  
  208.      ^G = delete character to the right of the cursor.
  209.   [Del] = delete character to the left.  [May instead delete right.]
  210.      ^U = undelete a character.
  211.      ^T = delete word to right of cursor.
  212.      ^Y = delete current line.
  213.  
  214.      ^N = insert a carriage return (break line) at present position.
  215.      ^V or [Ins] = toggle INSERT mode on and off.
  216.      ^^ = toggle case (upper/lower) of character at cursor.
  217.      ^P = insert following control code in text.  Special cases:
  218.              ^PH = overstrike; ^PI = hard tab; ^PL = page break (formfeed).
  219.      ^B = reformat current paragraph.
  220.      ^L (^\) = repeat find/replace (Repeats last ^QF or ^QA command.)
  221.  
  222.  
  223. II. FILE AND BLOCK COMMANDS:  first hit ^K (or Esc), then the key shown.
  224.  
  225.      ^K I = display file/memory Information message.
  226.  
  227.      ^K F = list Files on disk.
  228.      ^K E = Erase a disk file.
  229.  
  230.      ^K L = Load a new file to begin editing.
  231.      ^K N = change the current file Name (affects Save, eXit).
  232.      ^K S = Save the current file to disk, and continue editing.
  233.      ^K D = Done.  Save the file, then load a new one.
  234.      ^K X = eXit.  Save the file, then Quit to DOS.
  235.      ^K Q = Quit to DOS, abandoning current file.
  236.  
  237.      ^K R = Read a disk file into text at cursor position.
  238.      ^K P = Print the text (whole file or block).
  239.  
  240.      ^K B = mark the start of a Block.
  241.      ^K K = mark the end of a block.
  242.      ^K U = Unmark the block.
  243.      ^K Y = Delete the marked block.
  244.      ^K C = Copy the marked block at present cursor position.
  245.      ^K V = moVe the text in the block to present position.
  246.      ^K W = Write the marked block to a disk file.
  247.  
  248.  
  249. III.  QUICK COMMANDS:  first hit ^Q, then the key shown.
  250.  
  251.      ^Q S or ^Q[<] = go to start of line.
  252.      ^Q D or ^Q[>] = go to end of line.
  253.      ^Q E or [Home] = go to top of screen.
  254.      ^Q X or [End]  = go to bottom of screen.
  255.  
  256.      ^Q R or [^Home] = move to top of file.
  257.      ^Q C or [^End]  = move to end of file.
  258.      ^Q B = move to block start marker.
  259.      ^Q P = move to next place marker.
  260.      ^Q I = move to specified page (document) or line (nondocument).
  261.  
  262.      ^Q F = find next occurrence of a string.
  263.      ^Q A = find and replace a string.
  264.  
  265.      ^Q Y = delete from cursor to end of current line.
  266.      ^Q [Del] = delete from cursor to beginning of current line.
  267.      ^Q T = delete up to specified character.
  268.      ^Q U = undelete a line.
  269.  
  270.  
  271.  
  272. IV. ONSCREEN COMMANDS:  first hit ^O, then the key shown.
  273.  
  274.      ^O E or ^O[^] = make current line top of screen.
  275.  
  276.      ^O R = set right margin (column 1 turns off wordwrap/formatting).
  277.      ^O L = set left margin.
  278.      ^O X = toggle Margin Release on/off.
  279.      ^O C = center current line.
  280.      ^O F = align current line flush with the right margin.
  281.  
  282.      ^O Q = toggle display of header.
  283.      ^O T = toggle display of ruler line.
  284.      ^O D = toggle display of hard CRs.
  285.  
  286.      ^O A = toggle Auto Indent on/off.
  287.      ^O S = toggle Double Spacing on/off.
  288.      ^O H = toggle hyphenation on/off.
  289.      ^O V = toggle tab mode Hard/Variable.
  290.      ^O I = set variable tab stop(s).
  291.      ^O N = clear variable tab stop(s).
  292.  
  293.      ^O P = set page length (0 turns off pagination).
  294.      ^O W = toggle single-file text windowing on/off.
  295.      ^O Z = temporarily blank the entire screen.
  296.  
  297.  
  298. V. VDE ALT-KEY COMMANDS: press Alt and the key shown.
  299.      (These commands also work with an Esc,Esc prefix instead)
  300.  
  301.      Alt-F = edit a second File simultaneously.
  302.      Alt-W = split Window between two files.
  303.      Alt-C = Copy a block from the second file.
  304.      Alt-M = Match up the two files, showing differences.
  305.      Alt-X = eXit (^KX) from both files.
  306.      Alt-Q = Quit (^KQ) from both files.
  307.  
  308.  
  309.      Alt-R = Run an MSDOS command (or SHELL).
  310.      Alt-S = Split a huge file into pieces for editing.
  311.  
  312.      Alt-T = enter the current system Time in the file.
  313.      Alt-D = enter the current system Date in the file.
  314.  
  315.      Alt-O = move through file with Overview bar.
  316.      Alt-I = display VDE Information message.
  317.      Alt-G = enter an IBM Graphics character into text.
  318.      Alt-E = EGA screen mode.  Toggles between 25 and 43/50 lines.
  319.      Alt-A = ATI screen mode.  Toggles between 80 and 132 columns.
  320.  
  321.  
  322.  
  323. VI. VDE ESC-KEY COMMANDS:  first hit Esc, then the key shown.
  324.  
  325.      Esc TAB = backwards (leftward) tab.
  326.      Esc [<],[>] = shift screen horizontally 32 columns.
  327.      Esc [^],[v] = shift screen vertically 1/4 screen.
  328.  
  329.      Esc M       = execute a Macro string of commands.
  330.      Esc #       = store macro on numeric key for later recall.
  331.      Esc 0..9    = use stored key.  (In macro mode: jump label.)
  332.      Esc !,=,~,+ = used in Macro programming (see MACROS).
  333.      Esc ;       = brief pause, during Macro execution only.
  334.  
  335.  
  336.  
  337. ============================  3. BASIC COMMANDS  =============================
  338.  
  339.  
  340. DELETING (^G,Del,^T,^Y; ^Q-Y,Del,T) -  You can delete text one CHARACTER 
  341.     at a time: ^G deletes to the right of the cursor, and [Del] to the left.  
  342.     Note that the ordinary BS (^H) does not normally delete.  [BS/DEL behavior 
  343.     can be changed with VINSTALL.]
  344.          ^T deletes an entire WORD to the right (up to 255 characters).
  345.          ^Y deletes the entire current LINE.  ^QY deletes the part of the 
  346.     line to the right of the cursor; ^Q-Del deletes the part to the left.
  347.          ^QT deletes UP TO the next occurrence of a specified character (up to 
  348.     2048 characters).  Example: "^QT." deletes to the end of the sentence.  
  349.     Special case: "^QT^M" deletes to the next HARD CR, the end of the 
  350.     paragraph.
  351.          Accidentally deleted text can usually be recovered (see UNDELETE).
  352.  
  353. FILE COMMANDS (^K-N,S,X,D,Q,L) - ^KN NAMES your work.  This allows you to 
  354.     change the filename in the header before saving.  (Accepts mode option; 
  355.     you can also specify a mode alone, eg "/W", to change the current mode.)
  356.          ^KS SAVES your work: what's in memory is written to disk under the 
  357.     file name in the header.  (You must have a file name; one will be 
  358.     requested if necessary.)  If that file already existed, a backup (BAK) 
  359.     file may be preserved.  If the file has not been modified, you will be 
  360.     prompted to confirm that you want to resave it anyway.
  361.          There are several different commands for finishing up:
  362.          ^KX saves your work and then EXITS to DOS.
  363.          ^KQ just QUITS.  If the file has been modified, you will be prompted 
  364.     to confirm that you want to abandon the changes.
  365.          ^KD (DONE) saves your work, then loads a new file to edit.
  366.          ^KL quits the current file and LOADS a new one to begin editing.
  367.  
  368. FIND, REPLACE (^Q-F,A; ^L) -  ^QF is the command to FIND a string.  The 
  369.     search normally proceeds from the cursor position forward, and is case 
  370.     (upper/lower) sensitive.  There are two options:
  371.               "B" = search backwards;  "I" = ignore case
  372.     If used, the options must be enclosed in slashes (eg, "/bi/") before the 
  373.     search string.  (If you want to search for a string beginning with a 
  374.     slash, use an (empty) option first.)  In addition, a "_" [this can be 
  375.     reconfigured] functions as a wildcard: it will match any single character. 
  376.     Control codes, like ^M for newline, can be included (with the ^P prefix 
  377.     where needed).  Examples:
  378.            Find: ^MLABEL       matches "LABEL" at start of line only;
  379.            Find: 4__01         matches "42201", "47401", etc;
  380.            Find: /i/wordstar   matches "WORDSTAR", "WordStar" etc;
  381.            Find: /ib/esc       looks Backwards for "Esc", "esc", etc;
  382.            Find: ///88         matches "/88".
  383.         ^QA is the FIND/REPLACE command.  It asks for a string to find, and 
  384.     what to change it to.  (All options above apply to the search string 
  385.     only.)  The cursor will be placed in succession on each occurrence of the 
  386.     string, starting at the cursor location [or, optionally, at the top of the 
  387.     file].  (You will see the prompt "Chg?" in the header.)  To change it, 
  388.     press "Y";  anything else skips to the next.  To change all further 
  389.     occurrences without being asked, press "*".  Esc cancels at any time.  
  390.     (Note: if ^QA is used in a Macro, it will automatically assume "*" with no 
  391.     further input required.)
  392.          ^L repeats the last ^QF or ^QA command.  For ^QA, you will be asked 
  393.     whether you want to replace the found string.  For both, direction and 
  394.     case options remain unchanged.
  395.  
  396. HEADER (^OQ) -  Normally VDE gives you a "header", or status line, at the top 
  397.     of the screen.  If you like, you can toggle this display on and off with 
  398.     the ^OQ (Quiet) command.  [It can also be suppressed by default.]  Turning 
  399.     the header off lets you see more text, and can improve speed on slow 
  400.     terminals.
  401.     -----------------------------------------------------------------------
  402.     *C:VDE.DOC  /A        Pg 7   Ln 55   Cl 48   INS   vt hy AI DS MR  ^K_
  403.     -----------------------------------------------------------------------
  404.          "*" = Dual file flag.  If present, a second file is being edited.
  405.          "C:VDE.DOC /A" = Current file name and mode.  Any directory that was 
  406.     specified is the active default, although it does not display.
  407.          "Pg 7, etc" = Current position in file by page (in document modes), 
  408.     line, column.  If pagination (^OP) is off, you will see "Pg 0" (in "W,A" 
  409.     modes) or "OP" (in "N" mode).
  410.          "INS" = Insert mode on. (^V)
  411.          "vt" = Variable Tab mode on. (^OV)
  412.          "hy" = Hyphenation enabled. (^OH)  Doesn't display in "N" mode.
  413.          "AI" = Auto Indent mode on. (^OA)
  414.          "DS" = Double spacing. (^OS)
  415.          "MR" = Margins released. (^OX)  Doesn't display in "N" mode.
  416.          "^K"... Key prefixes (and some prompts) display here.
  417.  
  418. INFORMATION (^KI; Alt-I) -  ^KI displays an Information message telling you:
  419.               * whether (Y/N) the file has been changed since last saved;
  420.               * a word count for documents (useful for professional writing);
  421.               * the current size of the file in K (1K = 1024 bytes);
  422.               * the number of bytes of text memory used and free;
  423.               * the buffer size (used for block moves and disk I/O).
  424.          For large files, all this may take a moment to calculate.  Note that 
  425.     words are not counted in nondocuments.  For further explanation, see 
  426.     MEMORY.
  427.          Alt-I displays the VDE version, date, and usage policy.  (An unin- 
  428.     stalled copy of VDE does this automatically on startup.)
  429.  
  430. INSERT MODE (^V) -  ^V toggles insertion on and off.  If INSERT is OFF, any 
  431.     text to the right of the cursor is overwritten as you type.  If INSERT is 
  432.     ON, what you type is inserted, and existing text moves to the right.
  433.  
  434. LINE SPACING (^OS) -  The ^OS command toggles between single and double line 
  435.     spacing.  In double space mode, the following functions generate double 
  436.     carriage returns:  CR (^M), Insert CR (^N), Reform (^B), Wordwrap.  You 
  437.     can easily mix single and double spacing; the ^B command can convert 
  438.     between the two.
  439.          Note: if you prefer to keep your actual file single spaced, you can 
  440.     still get a double-spaced printout by using the "D" option of the ^KP 
  441.     command (see PRINTING).
  442.  
  443. MARGINS (^O-R,L,X,C,F) - ^OR sets the RIGHT margin, and enables wordwrap, 
  444.     reformatting, and centering.  At the prompt "Column:" enter the column 
  445.     number (2-255), or just hit CR for the current cursor column.  If the 
  446.     value entered conflicts with the current left margin, the left margin will 
  447.     be removed.  There are two special values for the right margin:
  448.       1 = all formatting is disabled (as in "N"ondocument mode files).
  449.       0 = unlimited right margin: every paragraph becomes one line.
  450.          ^OL sets the LEFT margin in an identical fashion; of course, the 
  451.     value must always be less than the current right margin, meaning it's best 
  452.     to set the right margin first.
  453.          ^OX temporarily RELEASES the margins (resets them to 1), allowing you 
  454.     to type outside them.  Use ^OX again to restore the margins.
  455.          ^OC CENTERS the current line with respect to the margins, if set.  
  456.          ^OF sets the current line FLUSH right, if the right margin is set.
  457.     See also RULER LINE.
  458.  
  459. MOVING AROUND (Arrow keys; ^F,^A; ^Q-R,C,I; Alt-O) -  VDE supports two sets of 
  460.     Arrow keys, which function interchangeably.  The first is the actual IBM 
  461.     cursor keypad (the four arrow keys); the second is the WordStar "arrow key 
  462.     diamond" ^E,^X,^D,^S.  These keys move the cursor up, down, right, and 
  463.     left respectively.
  464.          Preceded by ^Q-, any arrow key moves more quickly: to the top or 
  465.     bottom of the screen, to the left or right end of the line.
  466.          There are also two word movement commands: ^F moves right, to the 
  467.     start of the next word; ^A moves left, to the start of the last (or 
  468.     current) word.  Both have a maximum movement of 255 characters.
  469.          For quickly covering large distances, the commands ^QR and ^QC move 
  470.     all the way to the beginning and end of the file, respectively; ^QI moves 
  471.     directly to a given page (for documents) or line (for non-documents).
  472.          Finally, the Alt-O command displays an "overview bar" at the top of 
  473.     the screen.  Its extent shows the file size, and the current position is 
  474.     marked so you can see where you are in the file:
  475.                C:MODERATE.FIL  /A    Pg 5  Ln 12  Cl 1    INS
  476.               =========*================
  477.     You can move to any position in the file by moving the marker left or 
  478.     right, then hitting RETURN.  (Press Esc instead to cancel.)  If the file 
  479.     is too small, Alt-O does nothing.
  480.  
  481. PLACE MARKERS (^PZ; ^QP) -  You can set any number of temporary place markers 
  482.     in the text with ^PZ (they will appear as ^Z).  The ^QP command moves the 
  483.     cursor to the next place marker in the file, cycling back to the top of 
  484.     the file if needed.  (Place markers are NOT saved to disk.)
  485.  
  486. RULER LINE (^OT) -  To help you align text properly, ^OT displays a "ruler 
  487.     line" above the text.  Type ^OT again to remove it.  A moving pointer 
  488.     indicates the current column.
  489.          In each column you will see one of several symbols: "[]" designate 
  490.     the current margins; "." indicates areas outside the current margins, "-" 
  491.     within them.  Also, tab stops are marked by either "T" (Variable) or "I" 
  492.     (Hard).  Examples:
  493.         ("A" mode)      [-----T-----T-----------T--------------]........
  494.         ("N" mode)      I.......I.......I.......I.......I.......I.......
  495.  
  496. TABS (TAB,Esc-TAB; ^O-V,I,N) -  There are two Tab modes, Variable and Hard; 
  497.     the ^OV command toggles between them.  In Hard Tab mode the Tab key 
  498.     produces an actual ^I (ASCII TAB); whether this overwrites any existing 
  499.     text depends on the INSERT toggle.  Hard Tabs display by default at fixed 
  500.     intervals of 8 screen columns.  [This is reconfigurable to 2, 4, 16, etc.]
  501.          In Variable Tab mode, the Tab key moves the cursor to the next 
  502.     variable tab stop.  Existing text is not overwritten; spaces are added at 
  503.     the end of a line as needed.  Up to eight tab stops may be set with ^OI 
  504.     and cleared with ^ON; the defaults are in columns 5, 15, 35, and 55.  
  505.     [These are reconfigurable.]  You can always get a Hard Tab by typing ^PI.
  506.          The set/clear commands prompt for a column number, or you can hit 
  507.     RETURN for the cursor column.  In addition, the Set command ^OI accepts 
  508.     two further options, both of which replace all earlier tab settings:
  509.               @nn           Set tabs every "nn" columns
  510.               #n1,n2,...    Set tabs to columns "n1,n2,..."
  511.     You can simply clear all variable tabs by typing "@" or "#" alone.
  512.          The Esc-TAB command is a backwards (left) tab, moving to the previous 
  513.     tab setting.  This is useful for moving around in tables, etc.
  514.          See also RULER LINE.
  515.  
  516. TIME AND DATE (Alt-T,D) -  If your MSDOS system maintains the system clock 
  517.     properly, VDE can read it and insert the current time and date in your 
  518.     file automatically.  Just press Alt-T for the Time, or Alt-D for the Date.  
  519.     The string will appear at the current cursor location, as though you had 
  520.     typed it in yourself: for example,
  521.               1:21 PM            [or 13:21 in 24-hour format]
  522.               January 15, 1988   [or 15 January in European format]
  523.  
  524. UNDELETE (^U, ^QU) -  The undelete functions can be used (repeatedly if 
  525.     necessary) to recover a reasonable amount of text deleted either by 
  526.     overtyping, or with any of VDE's delete commands, IF the cursor has not 
  527.     yet been moved away.  ^U undeletes one character; ^QU does a whole line.
  528.          Restrictions: undelete only works with ^KY if the cursor was 
  529.     adjacent to the block deleted; and it may work imperfectly if leftward 
  530.     delete has been used several times in sequence.
  531.          Further use after all deleted text is recovered will produce junk 
  532.     (usually duplicates of text above the cursor, which is sometimes useful).
  533.  
  534. UPPER/LOWER CASE (^^) -  The command ^^ (Ctrl-caret or Ctrl-6) changes the 
  535.     case of the character at the cursor, if it was a letter, and moves to the 
  536.     next.  Useful for capitalizing a string of lowercase text, or vice versa.
  537.  
  538. WINDOW AND SCREEN (^W,^Z; Esc-Arrows; ^O-E,W,Z; Alt-E,A) -  VDE provides a 
  539.     number of commands to move and alter the display.
  540.          The ^W and ^Z commands scroll the screen up and down a line at a 
  541.     time, without moving the cursor (unless necessary).
  542.          Preceded by Esc-, any arrow key shifts the SCREEN rather than the 
  543.     cursor:  the text as a whole moves up/down 1/4 screen, or right/left 32 
  544.     columns, while the cursor stays put.  (The cursor must be past column 32 
  545.     to allow horizontal shifts.)
  546.          Preceded by ^O-, either UP arrow key (eg, ^OE) makes the current text 
  547.     line the top of the screen.
  548.          The ^OW command creates a Window in the bottom half of the screen, 
  549.     which retains a copy of the file text starting at the current line; 
  550.     editing continues normally in the top half of the screen.  This lets you 
  551.     keep a passage in view while you do something else.  Typing ^OW again 
  552.     removes the Window.  (Notes: you can tell an ^OW window from an Alt-W 
  553.     window by the fact that the separator line contains only the filename, no 
  554.     other header information.)
  555.          The ^OZ command temporarily "zaps" (blanks) the entire screen; good 
  556.     for avoiding CRT burn-in, or just protecting work from prying eyes or 
  557.     fingers.  Restore the screen by pressing Esc.  This is also useful if some 
  558.     other software (like resident utilities) has messed up the screen: type 
  559.     ^OZ,Esc and VDE will completely restore it.  (Note: on non-IBM computers, 
  560.     windows may not be restored.)
  561.          The Alt-E command lets you see more lines of text on screen, if you 
  562.     have an enhanced graphics adapter.  It toggles between normal 25-line 
  563.     mode and a compressed mode of 43 (EGA) or 50 (VGA) lines.  This command 
  564.     has no effect on systems without EGA/VGA.  [Note: compressed fonts can be 
  565.     hard to read.  You can choose a thin or fat font with VINSTALL.]
  566.          The Alt-A command works ONLY with the ATI EGA Wonder video card; do 
  567.     not use it otherwise.  (Many Kaypro PCs come with this card.)  This 
  568.     toggles between normal 80-column mode and ATI 132-column mode.  It can be 
  569.     used alone, or in combination with Alt-E to provide a 43x132 screen.
  570.  
  571. WORDWRAP, REFORMAT (^B, ^OD) -  WORDWRAP is automatic in Document modes 
  572.     ("W,A") whenever the right margin is set.  Any text entered will be 
  573.     formatted while you type, to the current margin settings.  The end of a 
  574.     paragraph is marked by a "HARD CR", which occurs when you press the RETURN 
  575.     key.  (This is a CR immediately following a character of text.)  In 
  576.     contrast, when wordwrap occurs you get a "SOFT CR" (which is actually a CR 
  577.     with a space before it).  You can change a hard CR into a soft one, or 
  578.     vice versa, by deleting or adding a space at the end of the line.  Hitting 
  579.     RETURN also hardens a soft CR.  The distinction between hard and soft CRs 
  580.     is only important when reformatting.
  581.          ^B REFORMATS from the line the cursor is on, to the end of the para- 
  582.     graph, according to the current margin settings and line spacing.  (Thus 
  583.     ^B is used not only to reshape a paragraph after editing, but also to 
  584.     change its margins and line spacing.)  Indentation can be tricky if you 
  585.     have a left margin set: if the current line is indented relative to the 
  586.     next one, VDE assumes that amount as your paragraph indentation.
  587.          ^OD toggles DISPLAY OF HARD CRs.  Hard CRs, otherwise invisible, are 
  588.     normally displayed as a "<" character in Document files.  Some may find 
  589.     this distracting, so it can be changed.
  590.  
  591.  
  592. ==========================  4.  ADVANCED COMMANDS  ===========================
  593.  
  594.  
  595. AUTO INDENT MODE (^OA) - The ^OA command sets Auto Indent mode, useful for 
  596.     typing outlines, structured program source code, and other text with a 
  597.     varying left margin.  When you hit RETURN in Auto Indent mode, the cursor 
  598.     will advance to:
  599.          Any existing indentation on the line (if INSERT is OFF); or,
  600.          The same indentation as the previous line (if INSERT is ON).
  601.     Thus, once you set the indentation level (with Space, BS, etc), VDE will 
  602.     automatically maintain it.
  603.          (Auto indent is for non-documents.  It does not affect wordwrap.)
  604.  
  605. BLOCK COMMANDS (^K-B,K,U,Y,C,V,W,PB; ^QB) - A Block of text is delimited by 
  606.     two markers [normally ^@] which remain in memory until reset or deleted.
  607.          ^KB marks the beginning of the block; ^KK marks the end.  Markers are 
  608.     inserted in the text; the two markers are identical.  (Obviously, the 
  609.     topmost one in the file is the start.)
  610.          ^KU unmarks the block, removing any marker(s) set.  (Block markers 
  611.     can also be deleted individually like ordinary characters.)  Markers are 
  612.     automatically removed as appropriate when ^KB/K are used again.
  613.  
  614.          The Block operation commands all require a Block to be marked:
  615.          ^KY deletes the block (including markers).
  616.          ^KV moves the Block text to the present cursor location, deleting the 
  617.     original; ^KC simply copies it, leaving the original.  Neither block nor 
  618.     place markers are transferred.  The cursor must not be IN the block.
  619.          ^KW writes the block text to a disk file; you will be asked for the 
  620.     filename (and optional mode).  Normally this will overwrite any pre- 
  621.     existing file; however, you can choose instead to append the text at the 
  622.     end of the file, by typing a "+" before the filename:
  623.                   Write to file: GORT        overwrites
  624.                                  +GORT       appends
  625.          ^KPB (^KP with B option) prints the block text only.  (See PRINTING 
  626.     for further details.)
  627.          The ^QB command, from wherever you are in the file, moves the cursor 
  628.     to the Block start.
  629.  
  630. DISK OPERATIONS (^K-R,F,E) -  ^KR READS in the contents of a disk file, 
  631.     inserting the text after the current cursor position.  You will be asked 
  632.     for the name (and, optionally, mode) of the file.
  633.          ^KF lists disk FILES: you may specify a directory and/or filename 
  634.     mask, and the files will be listed.  (The default is the directory 
  635.     specified with the current file, and all files *.*.)  Files display in 
  636.     uppercase; directories in lowercase.  If there is not enough room to fit 
  637.     all the items on the screen, you will see "..." at the end to indicate 
  638.     that there were still more.  Press Esc or Space to continue.
  639.          ^KE will ERASE a single disk file, if you need more room on the disk. 
  640.     (No wildcards allowed.)
  641.          If you need more complex file utilities than the ^KF/E commands 
  642.     provide, you can run any DOS command with Alt-R.
  643.  
  644. DUAL FILES (Alt-F,C,W,M,X,Q) -  VDE allows you to edit two different files 
  645.     simultaneously, if you have enough memory.  This can be done from the 
  646.     command line, by giving two filenames separated by a comma.
  647.          Otherwise, to begin editing a second file, you press Alt-F.  Note the 
  648.     flag "*" appearing in column 1 of the header, by the name: this means that 
  649.     a second edit is in progress.  If you Quit or Exit (^KQ,^KX) from one 
  650.     file, you will be returned to the other one, rather than to DOS.  You can 
  651.     switch back and forth at will between the two files by typing Alt-F again.
  652.           Caution: avoid editing two files with the same name; this can get 
  653.     confusing and unsafe.  If you want to edit two copies of the same file, 
  654.     use ^KN to change the name (to "COPY", maybe) before using Alt-F.
  655.  
  656.         The Alt-W command splits the screen Window between the two files; you 
  657.     can edit both at once, as usual moving between them with Alt-F.  Type Alt- 
  658.     W again to restore fullscreen editing.  When the window is split, a pair 
  659.     of special commands can scroll through BOTH files at once: [^PgUp] and 
  660.     [^PgDn].  (You can distinguish this split screen from a single-file (^OW) 
  661.     Window by the presence of full header information below.)
  662.          The Alt-C command can be used to copy a marked block directly from 
  663.     the other file into the present one.  The text appears at the cursor 
  664.     position just as with ^KC or ^KV.  (You will be asked whether or not you 
  665.     want to delete the original block after it is copied.)
  666.          The Alt-M command is used to Match up the two files: starting from 
  667.     the current cursor positions, VDE searches for any difference between the 
  668.     two files.  (It's important to position the two cursors carefully first.)  
  669.     If any are found, VDE will split the screen, showing you the disagreeing 
  670.     passages side by side!  If the files match completely, VDE will report 
  671.     "Not Found".
  672.          The Alt-X command exits BOTH files, saving, like ^KX.  The Alt-Q 
  673.     command quits BOTH files, like ^KQ.
  674.  
  675. GRAPHICS (Alt-G) -  You can enter an IBM graphic character into a VDE file 
  676.     with the Alt-G command.  You will be presented with a menu of up to 32 
  677.     characters (A-Z,1-6) to choose from; the default set contains some nice 
  678.     box parts and other useful things, and has some room free for other 
  679.     characters that might be loaded.  [The default set can be modified using 
  680.     VINSTALL.]
  681.          If you type "=", you can change a menu entry.  Type the code (A-5) to 
  682.     change, then type the extended character directly using the numeric keypad.  
  683.     (Example: a Greek alpha is 224; press and hold Alt, type 2-2-4, release 
  684.     Alt.)  
  685.          You can also type "-" to clear the whole set, if you need room to 
  686.     load a file with other graphics.
  687.          VDE is limited to this displayed set of 32 of the possible 127 
  688.     characters (ASCII 80-FE) at a time.  There is no way to enter a character 
  689.     outside of this set from the keyboard.  If you load a file containing 
  690.     other graphics characters, VDE will automatically try to add them to the 
  691.     current set.  CAUTION: If there is no room, they will be replaced by a 
  692.     grey blob (graphic #6)!  If you wish to leave the graphics set completely 
  693.     empty, or clear them with Alt-G-"-", they will simply adapt as a file is 
  694.     loaded.
  695.          Graphics are sent to the screen as extended ASCII codes 80-FE.  If 
  696.     you don't have an IBM compatible PC, they may not be distinguishable from 
  697.     ordinary characters.  They are stored in disk files directly as extended 
  698.     ASCII codes.  (Exception: in "W" mode, IBM graphics in disk files are 
  699.     handled compatibly with WordStar 4.)
  700.          Printing of graphics depends on whether your printer is installed as 
  701.     an IBM graphics printer [see VINSTALL].  If so, they will print directly.  
  702.     If not, VDE will "emulate" them, choosing standard ASCII character 
  703.     combinations that come as close as possible.  This usually works really 
  704.     well, especially for all the foreign characters -- try it out!
  705.          It is also possible for a file to contain graphics in the ASCII 00-1F 
  706.     range, but many of these codes are used by VDE for other purposes, and 
  707.     cannot be interpreted as graphics.  If a code has no reserved use, and is 
  708.     not installed as a print toggle or switch, it will function as a graphic.
  709.  
  710. HYPHENATION (^OH) -  VDE can't introduce hyphens, but it does recognize them 
  711.     in the text, treating them as a legitimate place to break a line.  (So if 
  712.     you have a long word close to the margin, you can insert a hyphen where 
  713.     you'd like the word to be broken.)
  714.          Similarly, VDE can't unhyphenate.  If it is trying to reformat and 
  715.     finds a hyphen at the end of a line, it will pause to ask you what to do 
  716.     with it.  You will see the prompt "Chg?" in the header, and can:
  717.         Press "Y" to remove the hyphen and space, joining the word;
  718.               "N" to leave the hyphen but still join the word;
  719.             "Esc" to leave both the hyphen and space alone.
  720.     Typically you would choose "Y" for "soft" hyphens that you introduced to 
  721.     break up a word ("intro-duction"); "N" for hard hyphens that are part of a 
  722.     word ("vis-a-vis"); and "Esc" for punctuation (dashes -- etc).  After your 
  723.     choice, reformatting will proceed automatically.
  724.          You can toggle hyphenation on and off with ^OH.  If off, hyphens are 
  725.     not treated differently from any other text character.  [The ^OH default 
  726.     can be changed with VINSTALL.]
  727.  
  728. PAGINATION (^OP; ^PL) -  The ^OP command sets the page length.  Enter a value 
  729.     from 0 to 255, or just hit CR to restore the default value.  [Normally 56.]
  730.          When the value is nonzero, it determines the page and line shown in 
  731.     the document header ("Pg xx Ln xx"), and all page functions in the Print 
  732.     routine (pagination, headers, start/stop at page) are enabled.  A formfeed 
  733.     will be sent after printing.  (VDE does not send a formfeed before 
  734.     printing; install one in your printer initialization if you want.)
  735.          When the value is zero, pagination is off.  The header will say "Pg 0 
  736.     Ln xxxx", showing you the absolute line number in the file.  Also, 
  737.     printing occurs with no page breaks.  (This is useful for printing small 
  738.     things right after each other on the same sheet; or, in conjunction with 
  739.     the "*" option, can print out multiple copies of index cards, labels, etc.)
  740.          The ^PL command embeds a formfeed (^L) in the text.  This code 
  741.     functions as a page break: you can type ^PL at the start of a line to 
  742.     begin a new page.  In document ("A,W") file modes, this will be reflected 
  743.     in the header page/line count, use of ^QI and other page-related commands, 
  744.     etc; it does not affect line count in "N"on-documents, or when pagination 
  745.     is off (^OP 0).
  746.          Moving around in a large file is a little quicker in "N" mode, or 
  747.     with pagination off (^OP 0), as pagebreaks don't need to be recalculated.  
  748.     This file (VDE.DOC) now contains several formfeeds, as an example.
  749.  
  750. PRINTER CODES (^P) -  Control codes for special effects in printing can be 
  751.     entered in the text with the ^P prefix.  Thus pressing ^P^H (or ^PH) 
  752.     embeds a ^H, etc.  Several standard codes are:
  753.           ^H - backspace - overstrike previous character
  754.           ^I - hard (ASCII) tab - printers respond variously to this
  755.           ^L - formfeed (page break)
  756.     (The Block marker, normally ^@, cannot be embedded; and ^Z is reserved for 
  757.     use as a place marker.)  Control codes display on screen as capital 
  758.     letters, highlighted if possible.  VDE assumes they are not characters, so 
  759.     they are not counted when reformatting text.
  760.          You can only embed standard ASCII codes 00-1F with ^P.  If the code 
  761.     has no reserved use, and is not installed as a print toggle or switch, it 
  762.     will display as a graphic character on an IBM compatible PC.  IBM extended 
  763.     graphics characters (ASCII 80-FF) must be entered with Alt-G.  How they 
  764.     print out depends on whether your printer is installed for IBM graphics.  
  765.     [See VINSTALL.]
  766.          For greater convenience, you can also arrange to have a single ^P- 
  767.     code produce an entire string of bytes for commonly used effects.  VDE 
  768.     supports a subset of WordStar's printer installation, up to 12 definable 
  769.     codes: six toggles, six switches.  The Printer Installation in VINSTALL 
  770.     allows you to install the actual control sequences your printer needs.  
  771.     The conventional WordStar assignments are:
  772.          Toggles: ^B  boldface        Switches: ^Q  (user 1)
  773.                   ^D  doublestrike              ^W  (user 2)
  774.                   ^S  underline                 ^E  (user 3)
  775.                   ^Y  ribbon/italic             ^R  (user 4)
  776.                   ^T  superscript               ^A  alternate pitch
  777.                   ^V  subscript                 ^N  standard pitch
  778.     but you can make them do anything you like.  "Toggles" are good for 
  779.     features like underline that are turned on and off.  "Switches" are better 
  780.     for multi-valued parameters like character pitch.
  781.          Example: your printer uses Esc-U-01 (and 00) to turn underlining on 
  782.     (and off).  Rather than trying to embed those actual codes in your file, 
  783.     you can just type ^PS wherever you want
  784.                          ^PSunderlined text^PS,
  785.     and install the ^S toggle for the appropriate codes [see VINSTALL.DOC].
  786.  
  787. PRINTING (^KP) -  The ^KP command Prints the file from memory.  You will be 
  788.     asked for a set of "Options:", at which point you may enter one or more of 
  789.     the following, in any order:
  790.        D      DOUBLESPACES the printout.
  791.        P      PAUSES for your keystroke before each page (sheet feed).
  792.        B      prints only the currently marked BLOCK.
  793.        Tnn    sets the TOP MARGIN to nn lines.      [The default margins can
  794.        Lnn    sets the LEFT MARGIN to nn columns.    be set with VINSTALL.]
  795.        ^      FILTERS control characters ^X to text "^X".
  796.        *nn    prints the job out nn TIMES (nn=1..255).
  797.  
  798.        @nn    begins printing AT page nn.
  799.        #nn    prints only (up to) a TOTAL of nn pages.
  800.        =nn    begins page NUMBERING at nn.
  801.        "..."  uses the quoted string as a HEADER.  The string, followed 
  802.                 immediately by the page number, will print at the top right of 
  803.                 each page near the margin.  (Maximum length is 50 characters; 
  804.                 an empty string, "", gives numbered pages with no header text.)
  805.  
  806.          The last four options (@,#,=,"") are NOT allowed if the page length 
  807.     (^OP) is set to 0, or if "B"lock print was chosen.
  808.           Example 1:      Options:  L12P
  809.     will print the file with a left margin of 12, pausing before each page 
  810.     until you press a key (other than Esc).
  811.           Example 2:      Options:  @6#2=21"Instructions, page "
  812.     will print pages 6 and 7, but numbered 21 and 22, with the header shown.
  813.           Example 3:      Options:  BD^*2
  814.     will print out the current marked Block, double spaced, with control 
  815.     filtering, twice.
  816.          NOTE:  If you are in "W" file mode, any dot commands in the file 
  817.     (lines beginning with ".") will not be printed.
  818.          You can abort printing at any time by pressing Esc.
  819.  
  820.          It is also possible to redirect printer output to a disk file.  All 
  821.     print control codes will go into the file just as they would have been 
  822.     sent to your printer; the file can be examined, or printed out later using 
  823.     COPY to PRN.
  824.          At the "Options:" prompt, just type the filename, in (parentheses).  
  825.     Any pre-existing file will be overwritten; if you want to append to an 
  826.     existing file, type a "+" before the filename.
  827.           Example 3:      Options:  B(+SCRATCH.FIL)
  828.     will append the printer output from the current marked Block, to the disk 
  829.     file SCRATCH.FIL.
  830.  
  831. RUN COMMAND, SHELL (Alt-R) - Typing Alt-R gives you a prompt "DOS>", from 
  832.     which you can run any command or program just as you would under MSDOS.  
  833.     You can copy and rename files, or run any other program you like, and 
  834.     afterwards return to your undisturbed VDE editing session by pressing Esc 
  835.     or Space.  This is especially useful for programming: you can run your 
  836.     compiler without ever leaving the edit of the source file.  VDE leaves no 
  837.     disk files open, so you can do anything you like with an Alt-R command.  
  838.     (Exception: don't load new memory-resident utilities.)
  839.              In addition to standard DOS commands and programs, there is a 
  840.     special VDE command that can be typed at the DOS> prompt:  SHELL.  This 
  841.     lets you out into a full DOS Shell.  You can use any number of commands, 
  842.     and generally move around in DOS as you like; to return to your 
  843.     undisturbed VDE editing session, type EXIT.
  844.          Note: For the Alt-R command to work, you must have COMMAND.COM in the 
  845.     root directory of the default drive [or other drive specified with VINST], 
  846.     and enough free memory to load another copy of it and run the chosen 
  847.     program.
  848.  
  849. SPLITTING FILES (Alt-S) -  The upper size limit on files that VDE can edit is 
  850.     about 80K; if you try to edit a much larger file VDE will be unable to 
  851.     load it.  However, if you encounter a larger file that you need to work 
  852.     with, VDE makes it easy to divide a file into manageable chunks with the 
  853.     Split command.  Suppose you have a big file HUGE.DOC.  Type Alt-S, then 
  854.     answer at the prompt:
  855.            Split file, output name (w/#):  HUGE.DOC, PIECE.#
  856.     VDE will go through the file HUGE.DOC and write out a series of smaller 
  857.     files PIECE.1, PIECE.2 etc, which can then be edited.  (You can tidy up 
  858.     the transitions between them with block moves, if you like.)
  859.          Note that the output name must be separated from the input by a 
  860.     comma, and must contain one # sign, which will be replaced by a 1, 2, etc 
  861.     in order.  (The above example could have used HUGE#.DOC, HUGE-#, etc.)  
  862.     Make sure you have enough disk space for the output files.
  863.  
  864.  
  865.  
  866. ========================  5. MACRO AND FUNCTION KEYS  ========================
  867.  
  868.  
  869.      A "macro" is a string of VDE commands and/or text that, once defined, can 
  870. be re-used automatically.  A "function key" is a simple macro pre-assigned to 
  871. one of the [F1]...[F10] keys.  A "macro key" is a macro assigned to a key Esc- 
  872. 0..9; these can be longer, and repeat automatically.  "Macro programming" 
  873. involves the use of special commands allowing a VDE macro to perform more 
  874. complex operations including loops and conditional execution, much like a 
  875. programming language.
  876.  
  877. FUNCTION KEY -  The [F1]...[F10] keys can perform any VDE function you like.  
  878.     [VINSTALL lets you define them; originally they do nothing.]  A good 
  879.     choice might be a common command like ^PS, for underlining; or a set of 
  880.     margins, like ^OL5,CR,^OR60,CR.  A key defined as:
  881.                             ^QR,^N,Esc,Esc,D,^OF
  882.     would place the current date at the top right of a letter.  (Note the use 
  883.     of Esc,Esc for Alt, required in function/macro keys.)
  884.          Once defined, the function can be performed simply by pressing the 
  885.     [F] key.  There are 40 keys in all, as each can be used with Shift, Ctrl, 
  886.     or Alt.  Any key can be up to 32 bytes long; there is a total of 370 bytes 
  887.     available.
  888.  
  889. MACRO (Esc-M) -  When you are in the middle of doing something in VDE, and 
  890.     find that you need to do something many times, it may be less tedious to 
  891.     have it repeated automatically.  If you type Esc-M you will be asked for 
  892.     the string to execute, then a "Repeat count".  Usually you will simply 
  893.     type a number for the repeat count (0-254, or "*" for indefinite).  You 
  894.     will see the results as the macro executes, and you can abort it at any 
  895.     time by pressing Esc.
  896.          (If you are sure you know what you're doing, you can speed up Macro 
  897.     execution by specifying "Quiet" mode: type "Q" before the repeat count.  
  898.     Only the header will be updated as the Macro runs.)
  899.          Macros also stop any time an error occurs; the error message will be 
  900.     visible, and can be cleared by pressing Esc.  Many commands (like Find or 
  901.     Reformat) are designed to generate errors at the end of the file so that 
  902.     an indefinite ("*") Macro containing them will halt there.  Other indef- 
  903.     inite Macros may need to be aborted manually.
  904.          VDE turns INSERT OFF before running a macro, so that the same 
  905.     sequence will always have the same effect.  The INSERT status is restored 
  906.     when the macro terminates.
  907.          In order to include any input line editing characters (BS, CR etc) in 
  908.     a macro, you must prefix them with ^P.  (NOTE:  To make them easier to 
  909.     read and understand, Macro listings will be given here as they function, 
  910.     not as they are typed in.  ^P prefixes as needed are NOT shown.  Key- 
  911.     strokes are separated by dashes or commas for clarity, and "Spc" means a 
  912.     space or blank.)  Here are some sample macros:
  913.          1.  View a file by scrolling slowly through it:
  914.                                Esc-;,^C
  915.     This will pause, then scroll down.  (Use a repeat count of "*".)
  916.          2.  Enter a long graphics border for a box.  (This can get tedious by 
  917.     hand.)  Assuming graphic "Y" is the horizontal bar,
  918.                                Esc,Esc-G-Y
  919.     will enter one character.  (Note how Esc,Esc = Alt, in Macros.)  You can 
  920.     get a line 40 characters long by giving a repeat count of "Q40" (the 
  921.     "Q"uiet option avoids unnecessarily displaying the menu).
  922.          3.  Can you figure out what this one does?  (Answer:  .elif eht fo 
  923.     dne eht ta meht fo tsil a gnikam elif a fo tuo sesehtnerap ni stnemmoc 
  924.     ekat lliw tI)
  925.                   ^QR,^QF,(,CR,^G,^KB,^QF,),CR,^G,^KK,^QC,CR,^KV
  926.          VDE Macros are very powerful tools, particularly given their program 
  927.     ability and storage on macro Keys.
  928.  
  929. MACRO KEY (Esc-#,0..9) -  Up to 10 Macros can be stored (0..9), by entering 
  930.     them with the Esc-M command, then using Esc-# to save them.  They can then 
  931.     be recalled and used simply by typing Esc-number.  Example: typing Esc-#-0 
  932.     will store the last Macro used as Key 0, and it can be recalled and reused 
  933.     at any future time simply by typing Esc-0.
  934.          Ordinarily, Keys operate just like the original Macro:  they will ask 
  935.     for "Repeat count" when executed.  If you want to suppress this (giving 
  936.     something more like a function key, that only executes once) you can 
  937.     type "N" (for No repeat) before storing the key number.  Example:  Esc-#-N- 
  938.     0 stores a Macro in Key 0 as a no-repeat key sequence.  If you also don't 
  939.     need to see the Key work, and want to make it faster, you can make it 
  940.     QUIET as well by typing "Q" instead (for Quiet) before the key number.  
  941.     Example:  Esc-#-Q-0 stores to Key 0 as a quiet no-repeat key sequence.
  942.          If the Macro (Esc-M) string is empty, using Esc-# will delete a Key 
  943.     definition.  Using a defined Key brings its definition into the Macro 
  944.     buffer (whence it can be stored again if desired).  Trying to use an 
  945.     undefined Key results in an error.
  946.          There are 1012 bytes total available for all 10 keys, and a 128 byte 
  947.     limit for any one Key.  (VDE's own input line will only accept 65 bytes, 
  948.     but VINSTALL can handle up to the full 128.)
  949.          USAGE TIP: In order to re-use a Macro you've already typed in, 
  950.     without having to retype it, save it onto a Key, then recall it.
  951.          Besides simply storing any Macro, these Keys are useful for storing a 
  952.     frequently repeated phrase; "Esc-6" is much more convenient than "^PYWorld 
  953.     Wide Widgets Inc. (N.A.)^PY".
  954.           [VINSTALL allows you to install a default set of macro Keys.  Thus 
  955.     VDE can be customized for any task, such as the formatting requirements 
  956.     of specialized writing or programming languages.]
  957.  
  958. MACRO PROGRAMMING (Esc-0..9,!,=,~,+,;) -  VDE has several commands which 
  959.     operate only in a Macro string, and give you conditional control over the 
  960.     execution of a macro, allowing real programming.
  961.          Esc-0..9, when in a Macro, function simply as "labels" 0..9.  They 
  962.     have no effect, but can be "jumped" to by other commands.
  963.          Esc-! followed by 0..9 is a simple "jump" instruction, causing macro 
  964.     execution to resume with the command following the label Esc-0..9.  
  965.     Example: Esc!2 jumps to label 2.  As two epecial cases, Esc-![ jumps to 
  966.     the beginning of the Macro, and Esc-!] jumps to the end (aborts).
  967.          Esc-= and Esc-~, followed by a character and then a label 0..9 (or 
  968.     "[","]"), are conditional jumps: they jump to that label IF the character 
  969.     at the cursor position does (or for "~", doesn't) match that specified. 
  970.     Example: Esc~^M2 jumps to Esc-2 if the current character is NOT a CR.
  971.          Esc-= and Esc-~, followed by a character and then ">" or "<", are 
  972.     search loops.  They will continue to move the cursor right (or for "<", 
  973.     left) as long as the character at the cursor does (or for "~", doesn't) 
  974.     match, or until the beginning or end of the file.  Example: Esc=Spc> moves 
  975.     right as long as the current character is a space.
  976.          Esc-+, followed by 0..9, is used to "chain" to another macro key.  In 
  977.     this way you can build up strings longer than the 65/128-byte limit on any 
  978.     one key.  It does not "call" the key; there is no returning.  Example: 
  979.     Esc+9 chains to key 9.
  980.          Esc-; (semicolon) gives a brief pause, presumably so the user can see 
  981.     what's happening on screen.
  982.          Macro programs are stored just like any other macro string (usually 
  983.     with "N"o repeat count).  If you program in an endless loop, you will at 
  984.     some point have to abort by pressing Esc.  Don't make macro programs 
  985.     "Q"uiet until you're sure they work.
  986.          Example: here is a good macro program (best stored as a Quiet Key) to 
  987.     move the cursor to the start of the current sentence:
  988.               Esc~.1, ^S, Esc1, Esc~.<, Esc2, ^D, Esc=Spc2, Esc=^M2
  989.     You could write this out in programmer's pseudo-code as:
  990.               If not "." goto label1
  991.               Move left                 ;move left if already on period
  992.      label1:  While not "." move left   ;move left to previous period
  993.      label2:  Move right                ;now move back right
  994.               If " " goto label2        ;  as long as you see a space
  995.               If "^M" goto label2       ;  or a Return
  996.               (all done)
  997.  
  998.  
  999. =========================  6. GENERAL INFORMATION  ===========================
  1000.  
  1001.  
  1002. DIRECTORIES -  It is important to recognize that if (via ^KN, ^KL, or the DOS 
  1003.     command line) you specify a directory as part of the current filename, 
  1004.     that directory acts as the default for all VDE file I/O commands, 
  1005.     extending or overriding the actual current DOS directory.  The directory 
  1006.     does not display in the header, but you can see it at the prompt for the 
  1007.     ^KF file directory command.  (If you are editing two files, each can have 
  1008.     its separate local directory.)
  1009.          If, for example, you enter VDE as follows:
  1010.                       C:\WORK>vde gort\myfil
  1011.     the file being edited is C:\WORK\GORT\MYFIL, and all VDE file operations 
  1012.     are going to assume the default directory C:\WORK\GORT.  So if you then 
  1013.     want to edit MYFIL2, in the same directory, type ^KL,"MYFIL2"; or, if you 
  1014.     want, "\WORK\GORT\MYFIL2", starting again from the root; but not 
  1015.     "GORT\MYFIL2", because that would produce C:\WORK\GORT\GORT\MYFIL2.  None 
  1016.     of this affects DOS in any way; if you use the Alt-R command, the current 
  1017.     directory is still C:\WORK, or whatever you change it to with CHDIR.
  1018.          If you try to edit a file in an invalid directory, you will find that 
  1019.     you can edit the (empty!) file but will be unable to save it.  Use ^KN to 
  1020.     change to some valid directory and name.
  1021.  
  1022. DISK SPACE -  If you run out of disk space when writing a file, you can just 
  1023.     insert another disk.  (Always keep a blank FORMATTED disk around -- though 
  1024.     you can run FORMAT with Alt-R, if necessary.)  Alternatively, you can use 
  1025.     the ^KF and ^KE commands to purge unneeded files.  [If you have small 
  1026.     disks, you can also install VDE not to preserve BAK files.]
  1027.          Let VDE's filesize limits encourage you to break work up into files 
  1028.     of 64K or less; larger files make inefficient use of floppy disks.
  1029.  
  1030. ERROR MESSAGES -  Press Esc or Space to continue.  "Error" alone means the 
  1031.     command used just won't work in this situation.  (Example: a block command 
  1032.     was used with no block marked.)  More specific errors are:
  1033.       "Out of Memory" - the file, block, or key string won't fit in RAM.
  1034.         "Invalid Key" - an illegal command key sequence was pressed.
  1035.           "I/O Error" - file not found, disk full, invalid drive, etc.
  1036.     "Cannot Reformat" - word too long, or margins invalid.
  1037.           "Not Found" - the object of a search was not found.
  1038.        "Syntax Error" - a macro programming command was misused.
  1039.  
  1040.          NOTE: On DOS 2.x systems, an attempt to access an empty disk drive or 
  1041.     to print when the printer is not online can produce a critical error 
  1042.     message directly from DOS, something like:
  1043.                  "Device not ready; Ignore, Retry, or Abort?"
  1044.     If this should happen, correct the situation and press "R" for Retry.  
  1045.     Pressing "I" usually has no effect.  DO NOT PRESS "A", as this will exit 
  1046.     from VDE, losing any text in memory.
  1047.          If after recovering from such an error, the message is still on 
  1048.     screen, you can press ^OZ,Esc to redisplay your text.
  1049.  
  1050. FILE MODES -  VDE has three "file modes": "W"ordStar document, "A"SCII 
  1051.     document, and "N"on-document.  The basic difference is in the format of 
  1052.     the disk files:
  1053.          In "W" mode, VDE reads and writes WordStar document compatible files. 
  1054.     A VDE "W" file can be edited with WordStar in Document mode.  VDE can edit 
  1055.     actual WordStar documents directly; but note that any right justification 
  1056.     will be lost.
  1057.          In "A" or "N" mode, VDE reads and writes text as standard ASCII 
  1058.     characters, a universal format accepted by virtually all software.  These 
  1059.     two modes differ only in providing different sets of default options.  "A" 
  1060.     mode (like "W") is designed for word processing; "N" mode is for program- 
  1061.     ming and other special applications.
  1062.         DEFAULTS FOR:                   Margins     TABS    HARD CR DISP.
  1063.       "A"SCII, "W"ordStar document      ACTIVE    variable      [on]
  1064.       "N"on-document                    DISABLED    hard        off
  1065.          The file mode option can be specified along with the filename at any 
  1066.     VDE file function prompt, allowing you to mix WordStar and ASCII disk 
  1067.     files as needed.  You can also change the current mode with the ^KN 
  1068.     command by entering a new mode (eg, "/W") with or without a filename. 
  1069.          The default mode (used when none is specified) is "A", but this can 
  1070.     be changed.  In addition, you can specify automatic filetype defaults to 
  1071.     declare exceptions (for example, all ".ASM" files as "N" mode).  [See 
  1072.     VINSTALL.]
  1073.  
  1074.          NOTE ON FOREIGN ASCII FILES - If you edit an ASCII file created by 
  1075.     other software, you may find the format different from what VDE expects.
  1076.          1. HARD CRs.  The file may be properly formatted but full of hard 
  1077.     CRs, making it impossible to REformat.  There are two easy ways to solve 
  1078.     this problem: first, you can use ^QA to find "^M"s and selectively replace 
  1079.     them with " ^M".  Alternatively, the following Macro (best stored as a 
  1080.     Quiet macro Key) does a good job of "softening up" a paragraph:
  1081.                ^QS,^X,Esc=Spc],Esc=^M],^S,^VSpc^V,^D,Esc![
  1082.          2. NO CRs.  Some software stores every paragraph as one long line, 
  1083.     with CRs only at the end.  To read such files in VDE you may want to 
  1084.     reformat (^B) to your usual margins.  If you want to produce such a file 
  1085.     yourself, set the right margin (^OR) to "0" and reformat (^B) before 
  1086.     saving to disk.  (See MARGINS.)
  1087.  
  1088. IBM KEYBOARD -  There are a number of special IBM keys outside the normal 
  1089.     ASCII keyboard.  VDE recognizes many of these as commands, but they cannot 
  1090.     be entered into a string such as a macro definition.  Some have a standard 
  1091.     synonym (eg ^QE for [Home]) that must be used instead.  For Alt-commands, 
  1092.     use the double-Esc prefix (Esc,Esc,D = Alt-D).
  1093.          VDE has enough keyboard buffering for the fastest typist.  However, 
  1094.     if you lean on one key for some time you may manage to fill the buffer, 
  1095.     and keystrokes may be lost.
  1096.  
  1097. MEMORY -  VDE edits each file in a 64K memory segment, if available.  (1K = 
  1098.     1024 bytes.) If you check the usage of memory (^KI) you will find that VDE 
  1099.     compresses text: a file typically occupies 20-25% less memory than its 
  1100.     actual size.  This is why the maximum file size is about 80K.  If the text 
  1101.     area gets very full (less than 1K free) VDE will become quite slow.
  1102.          VDE runs well with as little as 128K RAM available; with 256K, two 
  1103.     maximal files can be edited along with a full-size I/O buffer, resulting 
  1104.     in faster disk I/O and unlimited block move ability.
  1105.          Running a DOS command requires enough free memory (beyond VDE's usage) 
  1106.     to load a copy of COMMAND.COM and any programs you intend to run under it.
  1107.  
  1108. PROMPTS -  First, VDE has several simple prompts requiring you to confirm an 
  1109.     action by typing "Y" or "N":
  1110.        "Abandon changes?" - warns the file you want to Quit has been changed.
  1111. "Unchanged! save anyway?" - reminds the file you want saved isn't changed.
  1112.        "Delete original?" - do you want to delete block copied from 2nd file.
  1113.                    "Chg?" - do you want to change this instance of a string?
  1114.     Then, there are a few special purpose prompts:
  1115.          "Repeat count:" - enter (optional "Q" and) repeat count for Macro.
  1116.            "Key number:" - enter (optional "N/Q" and) key number for Key.
  1117.                    "Rdy" - press any key to print next page (Esc quits).
  1118.     Finally, there are a variety of prompts for either numeric or string 
  1119.     input, like "Column:" or "Find string:".  You are expected to type in a 
  1120.     string (up to 65 characters).  During this process, IBM PC special keys 
  1121.     (except Del) are not recognized.  The following control keys operate:
  1122.          Correct mistake:     BS (^H), ^S, or Del
  1123.          Erase entire entry:  ^X
  1124.          Abort operation:     ^U
  1125.     Note that to get any of these codes, or a CR, into the string itself, you 
  1126.     must precede it with ^P (this includes ^P).
  1127.          Examples: to find a line beginning with a "*" (find "^M,*") type
  1128.                      ^QF,^P-CR,*,CR.
  1129.  
  1130. WORDSTAR COMPATIBILITY -  In most respects VDE operates much like WordStar; 
  1131.     one big difference is the absence of a "No-File" menu.  You are always in 
  1132.     edit mode; use ^KL to select a new file, or Alt-R to run DOS commands 
  1133.     COPY, REN, etc.
  1134.          VDE lacks some WordStar commands, and has some of its own.  Aside 
  1135.     from these, there are the following differences in common commands:
  1136.  
  1137.         COMMON USE      WORDSTAR 4     VDE             VDE NOTES
  1138.     Hide block            ^KH          ^KU      Actually unmarks block.
  1139.     Erase disk file       ^KJ          ^KE
  1140.     Set Place Mark       ^K0..9        ^PZ      Not individually numbered.
  1141.     Go to Place Mark     ^Q0..9        ^QP      Cyclic.
  1142.     Time, Date stamp     Esc-!,@     Alt-T,D
  1143.  
  1144.       COMMON COMMAND     WORDSTAR 4 USE               VDE USE
  1145.           ^^ (^6)       Soften hard CR        Transpose upper/lowercase
  1146.            ^KN          Column block mode     Rename current work
  1147.            ^OD          Display ^P codes      Display hard CRs
  1148.            ^OF          Ruler from text       Flush right
  1149.            ^OP          Preview mode          Page length
  1150.            ^QU          Repeat align          Undelete line
  1151.  
  1152.     Note that VDE does not recognize WordStar "dot commands" in text, though 
  1153.     in "W" mode it will avoid printing them.  You can get a page break (Word- 
  1154.     Star .PA) with the ^PL command.
  1155.  
  1156.  
  1157. ===============================  7. HISTORY  =================================
  1158.  
  1159.  
  1160.        1984-1987:  Development of CP/M VDE through version 2.62.
  1161. VDE 1.0  (12/87):  First MSDOS release.  IBM PC compatible version only.
  1162.     1.01 (12/87):  Faster; several bug fixes; minor changes to VINSTALL.
  1163.     1.1  (01/88):  Generic MSDOS ANSI.SYS support; EGA 43-line support;
  1164.                   Dual-file editing; DOS Shell; Time/date stamps.
  1165.     1.2  (03/88):  New dual-file commands Alt-W,M,C,Q,X; Alt-R replaces Shell;
  1166.                   Split file; ^KD; ^OQ,^QT,^QI; Graphics; [F]unction keys;
  1167.                   backward find; word count; new print options.
  1168.     1.21 (05/88):  Auto indent; tab set enhancements; ^PL starts new page.
  1169.     1.22 (08/88):  Append to existing file; Print to file; Printer top, left 
  1170.                   margin; Alt-O,I,A; enhanced speed & appearance; VGA support.
  1171.  
  1172.      See the accompanying file VDExxx.UPD for a more detailed account of 
  1173. changes in the most recent release.
  1174.  
  1175. ==============================================================================
  1176.